﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SQLToClass
{
    /// <summary>
    /// Descibe column information in table
    /// Created by: Dinh Quoc Vuong
    /// Created date: Oct 10th 2011
    /// </summary>
    public class ColumnInfo
    {   
        /// <summary>
        /// Column name in table
        /// </summary>
        public string ColumnName { get; set; }
        /// <summary>
        /// Data column type
        /// </summary>
        public string DataType { get; set; }
        /// <summary>
        /// Is primary key
        /// </summary>
        public bool IsKey { get; set; }
        /// <summary>
        /// Is auto increment
        /// </summary>
        public bool IsAutoIncrement { get; set; }
    }
}
